﻿function SwingViewModel(model) {
    var selfSwing = this;
    ko.mapping.fromJS(model, {}, selfSwing);
}